// pages/about_my/footprint/footprint.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    tab_top: [
      '未使用',
      '已使用',
      '已失效',
    ],

    curr: 0,

    // 拼团商品
    group_buying: [{
        img: "/images/03.png",
        name: '【宝宝必备】儿童脸盆 多色可选',
        now_price: 1.9,
        old_price: 12.9
      },
      {
        img: "/images/03.png",
        name: '【宝宝必备】儿童脸盆 多色可选',
        now_price: 1.9,
        old_price: 12.9
      },
      {
        img: "/images/03.png",
        name: '【宝宝必备】儿童脸盆 多色可选',
        now_price: 1.9,
        old_price: 12.9
      },
      {
        img: "/images/03.png",
        name: '【宝宝必备】儿童脸盆 多色可选',
        now_price: 1.9,
        old_price: 12.9
      },
      {
        img: "/images/03.png",
        name: '【宝宝必备】儿童脸盆 多色可选',
        now_price: 1.9,
        old_price: 12.9
      },
      {
        img: "/images/03.png",
        name: '【宝宝必备】儿童脸盆 多色可选',
        now_price: 1.9,
        old_price: 12.9
      },
    ],
  },

  switch_tab(e) {
    this.setData({
      curr: e.currentTarget.dataset.id
    })
  }

})